include_directories(
	${PROJECT_SOURCE_DIR}/Zlib
	${PROJECT_SOURCE_DIR}/EncDec
)
set(LIB_HEADERS
	LNetService.h
	LService.h
	LSocket.h
	LTCPClientTask.h
	LTCPClientTaskPool.h
	LTCPServer.h
	LTCPTask.h
	LTCPTaskPool.h
	LThread.h
	LTime.h
	LIocp.h
	LType.h
)
set(LIB_SRCS 
	LNetService.cpp
	LService.cpp
	LSocket.cpp
	LTCPClientTask.cpp
	LTCPClientTaskPool.cpp
	LTCPServer.cpp
	LTCPTask.cpp
	LTCPTaskPool.cpp
	LThread.cpp
	LTime.cpp
	LIocp.cpp
)
add_library(Netbase ${LIB_SRCS} ${LIB_HEADERS})

set(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/lib)
target_link_libraries(Netbase zlib )
set_target_properties(Netbase PROPERTIES OUTPUT_NAME "Netbase")
